package com.lagou.edu.service;

import com.lagou.edu.pojo.Resume;
import com.lagou.edu.vo.LoginVo;
import com.lagou.edu.vo.ResultInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @ClassName: ResumeService
 * @Auther: Jerry
 * @Date: 2020/7/19 13:15
 * @Desctiption: ResumeService接口
 * @Version: 1.0
 */
public interface ResumeService {

    List<Resume> findAll() throws Exception;

    Page<Resume> findByPage(Integer pageNo, Integer pageSize) throws Exception;

    boolean save(Resume resume) throws Exception;

    void delete(Long id) throws Exception;

    ResultInfo login(String username, String password) throws Exception;
}
